home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / Languages / Python 1.1 / Grammar / Makefile < prev   
Encoding:
Makefile  |  1993-12-28  |  476 b   |  31 lines  |  [TEXT/R*ch]

  1. TOP=        ..
  2. PGENDIR=    $(TOP)/Parser
  3. PGEN=        $(PGENDIR)/pgen
  4. DESTH=        $(TOP)/Include/graminit.h
  5. DESTC=        $(TOP)/Python/graminit.c
  6.  
  7. all:        install
  8.  
  9. install:    $(DESTH) $(DESTC)
  10.  
  11. depend:
  12.  
  13. $(DESTH):    graminit.h
  14.         cp graminit.h $(DESTH)
  15.  
  16. $(DESTC):    graminit.c
  17.         cp graminit.c $(DESTC)
  18.  
  19. graminit.c graminit.h: $(PGEN) Grammar
  20.         $(PGEN) Grammar
  21.  
  22. $(PGEN):
  23.         cd $(PGENDIR); make pgen
  24.  
  25. clean:
  26.         -rm -f *.o core *~ [@,#]* *.old *.orig *.rej
  27.         -rm -f graminit.[ch]
  28.  
  29. clobber:    clean
  30.         -rm -f tags TAGS
  31.